import {  get, postForm} from './axios'

export const apiHome = pHome => get('/api/home/home', pHome)
export const apiLogin = pLogin => postForm('/api/auth/authenticate', pLogin)
export const apiUserInfo = pUserInfo => get('/api/user/info', pUserInfo)
export const apiGoodsList = pGoodsList => get('/api/goods/list', pGoodsList)
export const apiCartList = pCartList => get('/api/cart/list', pCartList)

